<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>video</title>
    <link rel="stylesheet" href="../../model/view.css">
</head>
<body>
<div class="catalog">
    <h2>目录</h2>
    <ul>
        <li>
            <p><a href="#element">< video ></a></p>
        </li>
        <li>
            <p><a href="#style">类型</a></p>
            <ul id="catalog_style">

            </ul>
        </li>
    </ul>
</div>
<div id="element">
    <h2>video</h2>
    <div>简介:</div>
    <p>用于播放视频和音频的控件</p>
</div>
<div id="style"></div>
<div></div>
<script src="../../js/script_min.js"></script>
<script src="../../model/view.js"></script>
<script>
    let video = new view("video");
    video.init([
        {style:1,data:[
            {img:"img/video_style1.png",code:`
        <video >
            <title background="#000000" height="48"/>
            <collection>img.fm_02.png</collection>>
        </video>`,title:"常用"},
        ]},
        {style:2,data:[
            {img:"img/video_style2.png",code:`<video style="2" background="#ffffff" id="musicPlayer" height="80"/>`,title:"常用"},
        ]},
    ]);
</script>
<div class="author"><p>by-沛华</p></div>
</body>
</html>